package com.ac.scum.log.web.model.wechat.mp.mapper;

import com.ac.scum.wechat.bean.WeChatUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface WeChatUserMapper extends BaseMapper<WeChatUser> {

    @Select("select * from wechat_mp_user where open_id = #{openId}")
    WeChatUser selectByOpenId(@Param("openId") String openId);
}
